<template>
 <!--
     测试vuex持久化:
     <button @click="$store.commit('user/setToken',Math.random()*100)">修改token</button>
-->

<!-- 一级路由挂载点 -->
  <router-view/>
</template>

<script>
export default {
  created () {
    // console.log('store实例', this.$store, this.$store.state.user.profile.token)
  }
}
</script>
